let path = require('path')

// console.log(path.normalize('./a/b/c/../d'));

// D:\教学\zz2205\day13\13-代码\04.path.js
console.log(path.resolve('04.path.js'));
//后缀名  .js
console.log(path.extname('04.path.js'));

// 链接的路径
console.log(path.join('/a', '/b'));